package com.csdj.course.pojo;

public class CourseAndPrice {
    private Integer id;

    private String name;

    private Integer valid;

    private Double price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "CourseAndPrice{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", valid=" + valid +
                ", price=" + price +
                '}';
    }
}
